package com.example.demo.service;

import com.example.demo.entity.changeuser;
import com.example.demo.entity.data;
import com.example.demo.entity.user;
import com.example.demo.entity.user1;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface UserService {
    user1 log(@RequestBody data data, HttpServletResponse response);

    String register(@RequestBody user user);

    List query();

    String delete(@RequestBody data data);

    String change(@RequestBody changeuser changeuser);

    String update(@RequestBody user user);
}
